package com.suse.lzj.demo.mapper;

import com.suse.lzj.demo.domain.HomeStay;
import com.suse.lzj.demo.domain.HomeStayExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeStayMapper {
    long countByExample(HomeStayExample example);

    int deleteByExample(HomeStayExample example);

    int deleteByPrimaryKey(Integer homestayId);

    int insert(HomeStay record);

    int insertSelective(HomeStay record);

    List<HomeStay> selectByExample(HomeStayExample example);

    HomeStay selectByPrimaryKey(Integer homestayId);

    int updateByExampleSelective(@Param("record") HomeStay record, @Param("example") HomeStayExample example);

    int updateByExample(@Param("record") HomeStay record, @Param("example") HomeStayExample example);

    int updateByPrimaryKeySelective(HomeStay record);

    int updateByPrimaryKey(HomeStay record);
}